/* pony.h */

#ifndef PONY_H_FILE
#define PONY_H_FILE

#include "path.h"

typedef struct {
  int point;
  int seg;
  int pos;
  int active;
} PONY;

#define NUM_PONIES 100

extern PONY pony[];

void pony_reset_all(void);
int pony_spawn(void);
void pony_advance(PONY *pony, PATH *path, int steps);
void pony_get_pos(PONY *pony, PATH *path, int *px, int *py, int *pangle);

#endif /* PONY_H_FILE */
